<?php
// FileFind - ftp/shares indexing and search php engine,
// http://project.ffind.ru
//
// Module: open_search.php
// Description: Open search template
// Copyright (c) 2003-2008 Rage Steel, www.gt2.ru
// ----------------------------------------------
// $Id$

require_once('./lib/lib.main.php');
$tpl['no_page_template'] = true;

echo '<?xml version="1.0" encoding="UTF-8" ?>';
?>

<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
  <ShortName>FileFind</ShortName> 
  <Image width="16" height="16" type="image/x-icon"><?php echo $lnk['absolute_url']; ?>favicon.ico</Image> 
  <Url type="text/html" template="<?php echo $lnk['absolute_url'], $lnk['search']; ?>?q={searchTerms}" /> 
  <InputEncoding><?php echo L_ENCODING; ?></InputEncoding> 
</OpenSearchDescription>
